package code.ws_common_scene.mode
{
	import code.ws_common_scene.mode.base.Fighter;
	
	import starling.core.Starling;

	/**
	 * 怪物 
	 * @author qiangchen
	 * 
	 */	
	public class Monster extends Fighter
	{
		
		/**
		 * 构造函数 
		 * @param render
		 * @param style
		 * @param action
		 * @param dir
		 * 
		 */		
		public function Monster( render:String, style:String, action:String, dir:int )
		{
			super( render, style, action, dir );
		}
		
		/**
		 * 设置名字颜色 
		 * @param color
		 * 
		 */		
		public function setNameColor( color:uint ):void
		{
			nametxt.color = color;
		}
		
		
		/**
		 * 释放 
		 * 
		 */		
		override public function dispose():void
		{
			Starling.juggler.removeTweens( this );
			super.dispose();
		}
	}
}